<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header">
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link th:href="@{../css/login.css}" rel="stylesheet"/>
    <link th:href="@{../css/main.css}" rel="stylesheet"/>
    <script th:href="@{../js/jquery.min.js}"></script>
    <script th:href="@{../js/diyUpload.js}"></script>
    <title>模板</title>
</head>
<body>
<p>评价1</p>
<th:block th:fragment="p2">
    <p>评价2</p>
</th:block>

</body>
</html>